package com;


public class PaymentVoucherBean 
{
		private String pybank,pyentrynum,pydate,pycheque,pyacc,pyacc2,pynar;
		
		private double pyamt,pyamt2;
		
		public String getPaymentBankName()
		{
			return pybank;
		}
		public void setPaymentBankName(String newpybank)
		{
			pybank=newpybank;
		}

		public String getPaymentEntryNumber()
		{
			return pyentrynum;
		}
		public void setPaymentEntryNumber(String newpyentrynum)
		{
			pyentrynum=newpyentrynum;
		}

		public String getPaymentDate()
		{
			return pydate;
		}
		public void setPaymentDate(String newpydate)
		{
			pydate=newpydate;
		}

		public String getPaymentCheque()
		{
			return pycheque;
		}
		public void setPaymentCheque(String newpycheque)
		{
			pycheque=newpycheque;
		}

		public String getPaymentAccount()
		{
			return pyacc;
		}
		public void setPaymentAccount(String newpyacc)
		{
			pyacc=newpyacc;
		}

		public double getPaymentAmount()
		{
			return pyamt;
		}
		public void setPaymentAmount(double newpyamt)
		{
			pyamt=newpyamt;
		}

		public String getPaymentAccount2()
		{
			return pyacc2;
		}
		public void setPaymentAccount2(String newpyacc2)
		{
			pyacc2=newpyacc2;
		}

		public double getPaymentAmount2()
		{
			return pyamt2;
		}
		public void setPaymentAmount2(double newpyamt2)
		{
			pyamt2=newpyamt2;
		}

		public String getPaymentNarration()
		{
			return pynar;
		}
		public void setPaymentNarration(String newpynar)
		{
			pynar=newpynar;
		}
		

/*			public PaymentVoucherBean (ResultSet rs) throws SQLException
			{
		        this.pybank = rs.getString("pybank");
		        this.pyentrynum = rs.getString("pyenum");
		        this.pydate = rs.getString("date");
		        this.pycheque = rs.getString("pycheque");
		        this.pyacc = rs.getString("pyaccname");
		        this.pyamt = rs.getDouble("pyamount");
		        this.pyacc2 = rs.getString("pyaccname2");
		        this.pyamt2 = rs.getDouble("pyamount2");
		        this.pynar = rs.getString("pynar");    
			}
*/
}
